home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / scripts / kconfig / check.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2008-12-24  |  214 b   |  15 lines

  1. #!/bin/sh
  2. # Needed for systems without gettext
  3. $* -xc -o /dev/null - > /dev/null 2>&1 << EOF
  4. #include <libintl.h>
  5. int main()
  6. {
  7.     gettext("");
  8.     return 0;
  9. }
  10. EOF
  11. if [ ! "$?" -eq "0"  ]; then
  12.     echo -DKBUILD_NO_NLS;
  13. fi
  14.  
  15.